package com.applet.system.service;

import java.util.List;

import com.applet.system.entity.Role;
import com.applet.system.entity.dto.RoleDto;

public interface RoleService {

	List<Role> getPage(Role role);
	
	List<Role> getAll();
	
	int delete(List<Long> ids);
	
	int add(Role role);
	
	int update(Role role);
	
	void authorize(RoleDto role);
	
	Role getRoleById(Long roleId);

	List<Long> getMenuIds(Long roleId);
	
	List<Long> getActionIds(Long roleId);
}
